package com.caijing.caijingxueyuanxd.service;

import com.caijing.caijingxueyuanxd.entity.Manager;
import com.caijing.caijingxueyuanxd.mapper.ManagerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ManagerService {

    @Autowired
    private ManagerMapper mapper;

    public List<Manager> selectAll(){
        List<Manager> managers = mapper.selectAll();
        return managers;
    }

}
